package com.applovin.mediation.ads;

import com.applovin.mediation.MaxAd;
import com.applovin.mediation.MaxAdFormat;

/**
 * @Description
 * @Author imchen
 * @CreateTime 2019/10/24 12:21
 */
public class MaxAdImpl implements MaxAd {

    private String mUid;
    private MaxAdFormat mMaxAdFormat;
    private boolean mIsReady;

    public MaxAdImpl(String uid,MaxAdFormat format,boolean isReady){
        this.mUid=uid;
        this.mMaxAdFormat=format;
        this.mIsReady=isReady;
    }

    @Override
    public String getAdUnitId() {
        return mUid;
    }

    @Override
    public MaxAdFormat getFormat() {
        return mMaxAdFormat;
    }

    @Override
    public boolean isReady() {
        return mIsReady;
    }
}
